package tcl.hujb.testitem;

import android.app.Activity;
import android.os.Bundle;

public class TestItem extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        ItemView iv1 = (ItemView) findViewById(R.id.itemview1);
        iv1.setImage(R.drawable.background);
        iv1.setText("DDDDDDDDDDDDDDDDDd");
        ItemView iv2 = (ItemView) findViewById(R.id.itemview2);
        iv2.setImage(R.drawable.applebg);
        iv2.setText("XXXXXXXXXXX");
    }
}